//
//  BuildingLayoutCell.m
//  Utils
//
//  Created by enghou on 2018/7/2.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "BuildingLayoutCell.h"

@implementation BuildingLayoutCell

-(void)setModel:(BuildingLayoutItemModel *)model{
    _model = model;
    self.titleLbl.text = [NSString stringWithFormat:@"%.2li%.2li",_model.layoutRow,_model.layoutColumn];
    if (_model.isHouse) {
        self.imageView.image = [UIImage imageNamed:@"img_building_binding"];
    }else{
        self.imageView.image = [UIImage imageNamed:@"img_building_unbounded"];
    }
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
